package com.neuedu.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neuedu.common.annotation.Excel;
import com.neuedu.common.core.domain.BaseEntity;

/**
 * 家庭成员信息对象 yunong_family_member_info
 *
 * @author ruoyi
 * @date 2024-12-18
 */
public class AAAAYunongFamilyMemberInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 户主关联id */
    @Excel(name = "户主关联id")
    private Long householdId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthdate;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 关系 */
    @Excel(name = "关系")
    private String relationship;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 文化程度
 */
    @Excel(name = "文化程度")
    private String education;

    /** 健康状况
 */
    @Excel(name = "健康状况")
    private String healthStatus;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 现居住地址 */
    @Excel(name = "现居住地址")
    private String currentAddress;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHouseholdId(Long householdId)
    {
        this.householdId = householdId;
    }

    public Long getHouseholdId()
    {
        return householdId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setBirthdate(Date birthdate)
    {
        this.birthdate = birthdate;
    }

    public Date getBirthdate()
    {
        return birthdate;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setRelationship(String relationship)
    {
        this.relationship = relationship;
    }

    public String getRelationship()
    {
        return relationship;
    }
    public void setOccupation(String occupation)
    {
        this.occupation = occupation;
    }

    public String getOccupation()
    {
        return occupation;
    }
    public void setEducation(String education)
    {
        this.education = education;
    }

    public String getEducation()
    {
        return education;
    }
    public void setHealthStatus(String healthStatus)
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus()
    {
        return healthStatus;
    }
    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }
    public void setCurrentAddress(String currentAddress)
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress()
    {
        return currentAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("householdId", getHouseholdId())
            .append("name", getName())
            .append("gender", getGender())
            .append("birthdate", getBirthdate())
            .append("idCard", getIdCard())
            .append("relationship", getRelationship())
            .append("occupation", getOccupation())
            .append("education", getEducation())
            .append("healthStatus", getHealthStatus())
            .append("contact", getContact())
            .append("currentAddress", getCurrentAddress())
            .toString();
    }
}
